package com.smartcommunity.dao.waterEleGasUsage;

import com.smartcommunity.entity.waterEleGasUsage.VillageWaterEleGasUsage;
import com.smartcommunity.entity.waterEleGasUsage.WaterEleGasUsage;
import com.smartcommunity.entity.waterEleGasUsage.req.HouseWaterEleGasUsageReq;
import com.smartcommunity.entity.waterEleGasUsage.req.HouseWaterEleGasUsageStatisticReq;
import com.smartcommunity.entity.waterEleGasUsage.req.VillageWaterEleGasPageReq;
import com.smartcommunity.entity.waterEleGasUsage.resp.HouseWaterEleGasUsageResp;
import com.smartcommunity.entity.waterEleGasUsage.resp.VillageWaterEleGasPageResp;

import java.util.List;

public interface WaterEleGasUsageMapper {
    List<WaterEleGasUsage> selectByCondition(HouseWaterEleGasUsageStatisticReq villageWaterEleGasPageReq);
    /**
     * 查询小区列表-count
     * @param villageWaterEleGasPageReq
     * @return
     */
    int queryVillageUsageCount(VillageWaterEleGasPageReq villageWaterEleGasPageReq);

    /**
     * 查询小区列表-list
     * @param villageWaterEleGasPageReq
     * @return
     */
    List<VillageWaterEleGasPageResp> queryVillageUsageList(VillageWaterEleGasPageReq villageWaterEleGasPageReq);

    /**
     * 房屋使用情况列表
     * @param villageWaterEleGasPageReq
     * @return
     */
    List<HouseWaterEleGasUsageResp> queryHouseUsage(HouseWaterEleGasUsageReq villageWaterEleGasPageReq);

    /**
     * 小区使用情况统计
     * @return
     */
    List<VillageWaterEleGasUsage> statisticVillageUsage();
}